package com.geely.model;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class Record extends Model<Record> 
{
	public static final Record dao = new Record();
	
	public List<Record> getAllRecord()
	{
		return Record.dao.find("select * from record");
	}
	public List<Record> Query(String stationName)
	{
		List<Record> record = Record.dao.find("select * from record where stationName=?",stationName);
		return record;
	}
//	public int getCount()
//	{
//		
//	}
	
}
